#pragma once
#include "Player.h"
class CRunner :
	public CPlayer
{
private:
	float Time = 0.0f;
	bool m_bTornado;
	int m_iLastTornadoLevel;
	SGD::Point m_poiTornadoPoint;
	float m_fTornadoTimer;
	SGD::HTexture hTornado = SGD::INVALID_HANDLE;
public:
	CRunner();
	~CRunner();

	/*virtual*/ void HandleCollision(const Entity* pOther);	/*override*/
	void Update(float elapsedTime) override;
	void Render(void)			   override;

	void Input();
	void Sprint();
	void Tackle();
	void Throw();

	void Jump();
	void Tornado(int prmLevel,SGD::Point prmTorPos);

	//Accessors and mutators
	SGD::Point GetTornadoPos(){ return m_poiTornadoPoint; }
	void SetTornadoPos(SGD::Point prmTorPoint){ m_poiTornadoPoint = prmTorPoint; }

	bool GetTornado(){ return m_bTornado; }
	void SetTorndao(bool prmBool){ m_bTornado = prmBool; }

	float GetTornadoTimer(){ return m_fTornadoTimer; }
	void SetTornadoTimer(float prmTimer){ m_fTornadoTimer = prmTimer; }

};

